]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
calendar: fix title at shell startup
authorGiovanni Campagna <scampa.giovanni@gmail.com>
Mon, 2 Mar 2015 08:30:20 +0000 (00:30 -0800)
committerGiovanni Campagna <scampa.giovanni@gmail.com>
Tue, 3 Mar 2015 00:21:38 +0000 (16:21 -0800)
Make sure the message list section is set to the current date
when opening the menu, otherwise the calendar might skip
the selected-date-changed event (because the day did not change)
which would leave the message list with an uninitialized date.

https://bugzilla.gnome.org/show_bug.cgi?id=745412

js/ui/dateMenu.js

index a36da317bf4166045e8d5d942f2962e8ada5f04f..4316006c413c6c1711d9d9a9ffb7b78a711cb471 100644 (file)
@@ -365,6 +365,7 @@ const DateMenuButton = new Lang.Class({
                 let now = new Date();
                 this._calendar.setDate(now);
                 this._date.setDate(now);
+                this._messageList.setDate(now);
             }
             // Block notification banners while the menu is open
             Main.messageTray.bannerBlocked = isOpen;